package org.dromara.basic.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;

import java.io.Serial;

/**
 * 学年管理对象 phy_basic_academic_year
 *
 * @author Lion Li
 * @date 2024-11-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("phy_basic_academic_year")
public class AcademicYear extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO, value = "id")
    private Long id;

    /**
     * 键值
     */
    private String academicYear;


    /**
     * 学年
     */
    private String academicName;

    /**
     * 状态
     */
    private Long status;


}
